package lingnan.cn.edu.chat;

import javax.swing.UIManager;
import javax.swing.UIManager.LookAndFeelInfo;

public class mainTest {
		 
	public static void main(String[] args) {
	/**/	try {
			for (LookAndFeelInfo info : UIManager.getInstalledLookAndFeels()) {
				if ("Windows".equals(info.getName())) {
					UIManager.setLookAndFeel(info.getClassName());
					break;
				}
			}
		} catch (Exception e) {
			// TODO: handle exception
		}
		ChatServer server = new ChatServer();
		ChatClient client = new ChatClient();
		new Thread(server).start();
		new Thread(client).start();

	}
}

